// #ifndef VUE3
import Vue from 'vue'
import App from './App'
import request from './util/request'
import api from './api'
import store from './store'

Vue.config.productionTip = false
Vue.prototype.$request = request
Vue.prototype.$api = api
Vue.prototype.$store = store
App.mpType = 'app'
const app = new Vue({
	...App
})
app.$mount()
// #endif

// #ifdef VUE3
import {
	createSSRApp
} from 'vue'
import App from './App.vue'
export function createApp() {
	const app = createSSRApp(App)
	app.config.globalProperties.$request = request
	app.config.globalProperties.$api = api;
	return {
		app
	}
}
// #endif
